-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Add more Http response stream tests #6277
Conversation
|
@stephentoub @CIPop PTAL |
|
Test Innerloop OSX Debug Build and Test please |
Building on PR #6250, added more response stream tests dealing with invalid response body transfer semantics.
| ContentLengthTooLarge, | ||
| ChunkSizeTooLarge, | ||
| MissingChunkTerminator | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a flags enum so that multiple failure conditions can be specified, or are they mutually exclusive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only two that could be combined as flags would be ChunkSizeTooLarge and MissingChunkTerminator, i.e. both of the invalid conditions could be present. But I currently don't test for that. ContentLengthTooLarge is basically mutually exclusive with the other two chunk related errors. I didn't think it was necessary to test every combination of the chunked failures.
|
A few comments, otherwise LGTM. |
|
LGTM |
Add more Http response stream tests
Add more Http response stream tests Commit migrated from dotnet/corefx@363c673
Building on PR #6250, added more response stream tests dealing with invalid response body transfer semantics.
I still plan to move the localhost server (recently added to these Http tests) to be Azure based.in the near future.